POV-Ray : Newsgroups : povray.unofficial.patches : Why & has higher precedence than + or - in isosurface functions? : Re: Why & has higher precedence than + or - in isosurface functions? Server Time
2 Sep 2024 00:18:31 EDT (-0400)
  Re: Why & has higher precedence than + or - in isosurface functions?  
From: pk
Date: 31 Jul 2000 14:30:43
Message: <3985C626.46C5B6E8@videotron.ca>
Thorsten Froehlich wrote:
> 
> In article <39857905@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
> 
> > Is there a reason for the operator & having higher precedence than + or - in
> > isosurface functions?
> 
> This looks like a bug to me, it should have lower precedence.
is "&" supposed to be the AND logical operator??It seems so,and if it
is, then it's normal: boolean operator have higher precedence than
arithmetical ones in almost all languages(and Maths); if not, then it's
a bug...

Could somebody explain why the patch uses "^" for something else than
exponents??

HTH,
 Paul
--
AKA paul_virak_khuong at yahoo.com, pkhuong at deja.com, pkhuong at
crosswinds.net and pkhuong at technologist.com(list not complete)...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.